import request from "@/utils/request";

// 查询项目会议记录列表
export function listMeetingRecord(query) {
  return request({
    url: "/officeMeeting/meetingRecord/list",
    method: "get",
    params: query,
  });
}

// 查询项目会议记录所有列表
export function listAllMeetingRecord(query) {
  return request({
    url: "/officeMeeting/meetingRecord/listAll",
    method: "get",
    params: query,
  });
}

// 查询项目会议记录详细
export function getMeetingRecord(id) {
  return request({
    url: "/officeMeeting/meetingRecord/getInfo/" + id,
    method: "get",
  });
}

// 新增项目会议记录
export function addMeetingRecord(data) {
  return request({
    url: "/officeMeeting/meetingRecord/add",
    method: "post",
    data: data,
  });
}

// 修改项目会议记录
export function updateMeetingRecord(data) {
  return request({
    url: "/officeMeeting/meetingRecord/edit",
    method: "post",
    data: data,
  });
}

// 删除项目会议记录
export function delMeetingRecord(id) {
  return request({
    url: "/officeMeeting/meetingRecord/remove/" + id,
    method: "get",
  });
}
